package server;
import java.awt.Desktop;
import java.net.URI;

public class StartBrowser {
	public static void openURL(String sURL) {
		try {
			URI uri = new URI(sURL);
			Desktop desktop = null;
			if (Desktop.isDesktopSupported())
				desktop = Desktop.getDesktop();
			if (desktop != null)
				desktop.browse(uri);
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
}
